/* $RCSFile: IRules.cs $
 * Apache license v2 2011 by Christian Surieux
 * $Source: ?/ADNCRM.RulesEngine/IRules.cs $
 * $log$
 * Revision 6 2010/08/06 19:56:30  christian.surieux
 *   Added Log to All cs files
 */

using System;
using System.Web;

namespace Rewrite.NET 
{
	public interface IRules 
	{
		bool Execute(HttpApplication Appl,ref string Path);
		
        /// <summary>
		/// True if the engine could break the rewrite process after this rule's successful execution
		/// </summary>
		bool BreakAfter
		{
			get;
			set;
		}

        /// <summary>
		/// True if the engine could break on first change
        /// This is always true for Default & Legacy rules
		/// </summary>
		bool BreakOnFirst
		{
			get;
			set;
		}
		IndexRule Section
		{
			get;
			set;
		}
	}
}
